<?php
namespace app\admin\controller;

use think\Cache;
use think\Controller;

class Base extends Controller
{
    /**
     * 清理缓存
     */
    public function clear_cache() {
        \app\api\service\Base::clear_cache();
    }

    /**
     * 图片上传
     */
    public function upload_image() {
        $data = \app\api\service\Upload::upload_image();
        return json($data);
    }

    /**
     * 获取验证码
     */
    public function getVerify()
    {
        GetVerify();
    }
}
